@charset "UTF-8";
.set-tit {
  margin-top: 0.4rem;
  opacity: 0.6;
  font-size: 0.8em;
}

.set-tit-line:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  left: 0;
  right: 0;
  border-top: 1px solid #ffffff;
}

.set-tit-name {
  margin: 0 0.2rem;
}

.set-m {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 0.2rem;
  box-shadow: 0 0.08rem 0 0 rgba(0, 0, 0, 0.2);
}

.set-icon {
  width: 0.909091rem;
  height: 0.909091rem;
}

.set-mName {
  font-size: 0.9em;
  margin-top: 0.35rem;
}

.set-mode {
  background: url("../images/set-mode.png") center no-repeat;
  background-size: 100% 100%;
}

.set-bg {
  background: url("../images/set-bg.png") center no-repeat;
  background-size: 100% 100%;
}

/* set model */

.m-top {
  margin: 0.1rem 0.15rem;
  height: 0.5rem;
}

.m-back {
  position: absolute;
  z-index: 9;
  left: 0;
}

.m-back>.f-ib {
  width: 0.5rem;
  height: 0.5rem;
}

.m-back>.f-ib:nth-child(1) {
  background: url("../images/back.png") center no-repeat;
  background-size: 0.140909rem 0.272727rem;
}

.m-back>.f-ib:nth-child(2) {
  background: url("../images/back-set.png") center no-repeat;
  background-size: 0.295455rem 0.281818rem;
}

.m-num {
  width: 0.25rem;
  height: 0.25rem;
  line-height: 0.25rem;
  text-align: center;
  background-color: #53B684;
  border-radius: 100%;
  font-size: 0.65em;
  vertical-align: top;
}

.m-floor {
  padding: 0 0.3rem;
  font-size: 0.8em;
  line-height: 0.5rem;
  margin-top: 0.16rem;
}

.m-mg {
  padding: 0 0.3rem;
}

.m-list {
  height: 0.8rem;
}

.m-ul>li {
  width: 0.5rem;
  height: 0.5rem;
  line-height: 0.5rem;
  border: 1px solid #ffffff;
  text-align: center;
  border-radius: 100%;
  margin: 0 0.08rem;
  font-size: 0.8em;
}

.m-ul>li.active {
  background-color: #53B684;
  box-shadow: 0 0.04rem 0 0 rgba(0, 0, 0, 0.3);
  border: 0;
}

.m-tit {
  font-size: 0.8em;
  line-height: 0.45rem;
  height: 0.45rem;
}

.m-btn {
  width: 0.85rem;
  height: 0.35rem;
  ;
  line-height: 0.35rem;
  text-align: center;
  border: 1px solid #ffffff;
  border-radius: 0.3rem;
  margin: 0 0.1rem;
  font-size: 0.75em;
}

.m-tit-line {
  width: 0.35rem;
  position: relative;
}

.m-btn-icon {
  width: 0.127273rem;
  height: 0.127273rem;
}

.m-btn-name {
  margin: 0 0.05rem;
}

.m-del {
  background: url("../images/delete.png") center no-repeat;
  background-size: 100% 100%;
}

.m-rest {
  background: url("../images/reset.png") center no-repeat;
  background-size: 100% 100%;
}

.m-allC {
  background: url("../images/m-allC.png") center no-repeat;
  background-size: 100% 100%;
}

.m-default {
  height: 2rem;
}

.m-defSwit {
  margin: 0 0.8rem;
}

.m-defSwit>ul>li {
  background-color: rgba(255, 255, 255, 0.2);
}

.m-custom {
  display: -webkit-inline-flex;
  /*webkit*/
  display: inline-flex;
  -moz-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  margin: 0 0.8rem;
  max-height: 2rem;
}

.m-custom>ul {
  display: block;
  -moz-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
  text-align: center;
}

.m-custom>ul>li {
  background-color: transparent;
  display: inline-block;
  margin: 0.1rem;
  position: relative;
}

.m-custom>ul>li>span {
  display: inline-block;
  width: 0.8rem;
  overflow: hidden;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-custom>ul>li>i {
  display: inline-block;
  background-color: red;
  font-style: normal;
  text-align: center;
  width: 0.25rem;
  height: 0.25rem;
  line-height: 0.25rem;
  border-radius: 100%;
  position: absolute;
  opacity: 0.8;
  top: 0.07rem;
  right: 0.05rem;
}

.m-add-box {
  height: 1.2rem;
}

.m-add {
  border: 1px dotted rgba(255, 255, 255, 0.8);
  background: url("../images/add.png") center no-repeat;
  background-size: 0.113636rem 0.113636rem;
  width: 1.477273rem;
  height: 0.409091rem;
  line-height: 0.409091rem;
  text-align: center;
  border-radius: 0.4rem;
}

.m-modelName {
  margin-bottom: 0.15rem;
}

.m-input {
  display: block;
  -webkit-appearance: none;
  width: 2rem;
  height: 0.4rem;
  padding: 0.05rem 0.08rem;
  font-size: 0.75em;
  text-align: center;
  background-color: transparent;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 0;
  -webkit-border-radius: 0;
}

.m-module-list {
  height: 1.15rem;
}
.m-module-tips{
  font-size: 0.7em;
  text-align: center;
  line-height: 1rem;
}
.m-module-ul>li {
  position: relative;
  display: inline-block;
  width: 1.477273rem;
  height: 0.409091rem;
  line-height: 0.409091rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.4rem;
  font-size: 0.7em;
  margin: 0 0.2rem 0.2rem 0;
}

.m-module-ul>li.active {
  border: none;
  background: #53B684 url("../images/act-checked.png") 0.15rem center no-repeat;
  background-size: 0.168182rem 0.168182rem;
  box-shadow: 0 0.08rem 0 0 rgba(0, 0, 0, 0.2);
}

.m-module-ul>li>span {
  display: inline-block;
  width: 0.9rem;
  overflow: hidden;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-module-ul>li>i {
  background: url("../images/more.png") center no-repeat;
  background-size: 100% auto;
  width: 0.168182rem;
  height: 0.168182rem;
  display: inline-block;
  position: absolute;
  right: 0.15rem;
  top: 0.11rem;
}

.m-set {
  margin-top: 0.15rem;
}

.m-set-switch {
  margin-top: 0.1rem;
}

.m-switch {
  font-size: 0.8em;
  line-height: 0.340909rem;
  margin-bottom: 0.2rem;
}

.open-way {
  width: 1.045455rem;
  height: 0.340909rem;
  border: 1px solid #ffffff;
  border-radius: 2px;
  vertical-align: top;
  margin-right: 0.2rem;
  font-size: 0.8em;
}

.m-hand {
  background: url("../images/hand.png") center no-repeat;
  background-size: 100% 100%;
  width: 0.131818rem;
  height: 0.163636rem;
}

.m-auto {
  background: url("../images/auto.png") center no-repeat;
  background-size: 100% 100%;
  width: 0.140909rem;
  height: 0.140909rem;
}

.open-way .f-ib {
  margin-right: 0.05rem;
  vertical-align: middle;
}

.open-way.active {
  border: 0;
  background-color: #53B684;
  box-shadow: 0 0.05rem 0 0 rgba(0, 0, 0, 0.2);
}

.m-submit {
  border-top: 1px solid #ffffff;
  margin: 0.1rem 0.3rem auto;
}

.btn-submit {
  width: 1.477273rem;
  height: 0.409091rem;
  line-height: 0.409091rem;
  background-color: #8FBD42;
  border-radius: 0.409091rem;
  text-align: center;
  font-size: 0.85em;
}

/* switch */

/*开关的大小*/

.switch-container {
  line-height: 0.3rem;
}

/*设置checkbox不显示*/

.switch {
  display: none;
}

/*设置label标签为椭圆状*/

.switch+label {
  display: inline-block;
  background-color: #EEEEEE;
  width: 0.6rem;
  height: 0.3rem;
  line-height: 0.3rem;
  cursor: pointer;
  border-radius: 25px;
  position: relative;
  vertical-align: top;
}

/*在label标签内容之前添加如下样式，形成一个未选中状态*/

.switch+label:before {
  position: absolute;
  content: '';
  top: 0.026rem;
  left: 0;
  display: block;
  border-radius: 100%;
  height: 0.25rem;
  width: 0.25rem;
  background-color: white;
  opacity: 1;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

/*在label标签内容之后添加如下样式，形成一个选中状态*/

.switch+label:after {
  position: absolute;
  top: 0.026rem;
  right: 0;
  content: '';
  border-radius: 100%;
  height: 0.25rem;
  width: 0.25rem;
  background-color: white;
  opacity: 0;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

/*选中后，选中样式显示*/

.switch:checked~label:after {
  opacity: 1;
}

/*选中后，未选中样式消失*/

.switch:checked~label:before {
  opacity: 0;
}

/*选中后label的背景色改变*/

.switch:checked~label {
  background-color: #53B684;
}

.switch~span:before {
  content: "关";
  margin-left: 0.1rem;
}

.switch:checked~span:before {
  content: "开";
}

/*set bg*/

.set-bgImg {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.set-bg-box {
  margin: 0 0.15rem;
  opacity: 0.8;
}

.bg-img {
  width: 2.363636rem;
  height: 1.818182rem;
  border: 0.01rem solid rgba(255, 255, 255, 0.8);
  border-radius: 0.02rem;
  box-shadow: 0 0.065rem 0 0 rgba(0, 0, 0, 0.2);
}

.bg-name {
  font-size: 0.9em;
  text-align: center;
  margin-top: 0.2rem;
}

.theme-blue {
  background-image: url("../images/theme/bg1.jpg");
  background-size: 100% 100%;
}

.theme-purple {
  background-image: url("../images/theme/bg2.jpg");
  background-size: 100% 100%;
}

.theme-green {
  background-image: url("../images/theme/bg3.jpg");
  background-size: 100% 100%;
}

.set-bg-box.active {
  opacity: 1;
}

.set-bg-box.active i {
  background: url("../images/theme-ok.png") center no-repeat;
  background-size: 0.363636rem 0.363636rem;
  display: block;
  width: 100%;
  height: 100%;
}
